home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / bumpcopter2.swf / scripts / frame_26 / PlaceObject2_392_35 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2006-06-13  |  440 b   |  22 lines

  1. onClipEvent(enterFrame){
  2.    if(this.hitTest(_root.bullet2) && shot == false)
  3.    {
  4.       this.nextFrame();
  5.       shot = true;
  6.       _root.shooting = false;
  7.       _root.open = true;
  8.       _root.s2._visible = false;
  9.       _root.bullet2.removeMovieClip();
  10.    }
  11.    else
  12.    {
  13.       shot = false;
  14.    }
  15.    if(_root.copter._currentframe == 2)
  16.    {
  17.       shot = false;
  18.       _root.open = false;
  19.       this.gotoAndStop(1);
  20.    }
  21. }
  22.